package cn.elead.it.sso.system.service.dto;

import java.util.ArrayList;
import java.util.List;

import cn.elead.it.sso.system.model.Dept;
import lombok.Getter;
import lombok.Setter;

/**
* @author Zheng Jie
* @date 2019-03-25
*/
@Getter
@Setter
public class DeptDTO extends Dept {

    private Boolean enabled;
    
    private List<DeptDTO> children = new ArrayList<>();

    public String getLabel() {
        return super.getName();
    }
    /** 序列化 */
    private static final long serialVersionUID = 1L;
}